package com.baosight.risk.service.system.entity;

import java.io.Serializable;
import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: sys_user_role
 */
@Data
@Table(name = "sys_user_role")
public class SysUserRole extends BaseEntity {

    /**
     * 用户ID
     * <p>
     * Table:     sys_user_role
     * Column:    user_id
     * Nullable:  false
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 角色ID
     * <p>
     * Table:     sys_user_role
     * Column:    role_id
     * Nullable:  false
     */
    @Column(name = "role_id")
    private String roleId;

    private static final long serialVersionUID = 1L;
}